{
g_return_val_if_fail (display == _gdk_display, FALSE);
- return _gdk_win32_pixbuf_to_hicon_supports_alpha ();
+ return TRUE;
}
gboolean
if (pixbuf == NULL)
return NULL;
- if (_gdk_win32_pixbuf_to_hicon_supports_alpha() && gdk_pixbuf_get_has_alpha (pixbuf))
+ if (gdk_pixbuf_get_has_alpha (pixbuf))
success = pixbuf_to_hbitmaps_alpha_winxp (pixbuf, &ii.hbmColor, &ii.hbmMask);
else
success = pixbuf_to_hbitmaps_normal (pixbuf, &ii.hbmColor, &ii.hbmMask);
return pixbuf_to_hicon (pixbuf, FALSE, x_hotspot, y_hotspot);
}
-gboolean
-_gdk_win32_pixbuf_to_hicon_supports_alpha (void)
-{
- return TRUE;
-}
-
HICON
gdk_win32_pixbuf_to_hicon_libgtk_only (GdkPixbuf *pixbuf)
{
HICON _gdk_win32_pixbuf_to_hcursor (GdkPixbuf *pixbuf,
gint x_hotspot,
gint y_hotspot);
-gboolean _gdk_win32_pixbuf_to_hicon_supports_alpha (void);
/* GdkDisplay member functions */
GdkCursor *_gdk_win32_display_get_cursor_for_type (GdkDisplay *display,